package com.aos.erp.schools.enums.notice;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

/**
 * 公告类型
 */
public enum NoticeType implements IEnum {
    notice(1, "公告"),
    msg(2, "消息");

    private int value;
    private String desc;

    NoticeType(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }


    public String getDesc() {
        return this.desc;
    }
}
